package com.ocom.common.entity.company;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ocom.common.entity.base.EntityBase;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "device_user_bind")
public class EntityDeviceUserBind extends EntityBase {


    @TableId(type = IdType.AUTO)
    /**
     * 主键自增
     */
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 手机UUIID
     */
    private String deviceId;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 用户所属单位名
     */
    private String companyName;

    /**
     * 用户所属商户名
     */
    private String merchantName;

    /**
     * 绑定时成功登录的data
     */
    private String loginJson;


}
